<?php 
include "../../connect.php";
$email = $_POST['email'];
$sql = "select email from thanhvien where Email = '$email'";
$result = mysql_query($sql);
$row = mysql_num_rows($result);
if($row>0){
	echo"1";
	}else{
		echo"0";
		}
?>